package com.aaa.mapper;

import com.aaa.pojos.Student;
import com.aaa.pojos.StudentGender;
import com.aaa.pojos.StudentJob;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StrudnetMapper {
    List<Student> query();

    void insertStudent(Student student);

    Student queryId(Integer id);

    void updateStudent(Student student);

    void deleteStudent(List<Integer> ids);

    void violation(Student student);

    List<StudentGender> degree();

    List<StudentJob> countData();
}
